package com.jprocms.module.cms.controller.admin.content.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ContentTopVo {

    @NotEmpty
    @Schema(description = "ids", required = true)
    List<Long> ids;

    @NotNull
    @Schema(description = "置顶级别   0非置顶 越大排序靠前", required = true)
    private Integer topLevel;
}
